﻿package com.itestor.iptv.modules.ne.vo;

import com.itestor.iptv.modules.alert.domain.RobotLog;
import com.itestor.iptv.modules.ne.domain.IptvLostRate;
import com.itestor.iptv.modules.ne.domain.IptvQuality;
import com.itestor.iptv.modules.ne.domain.RobotManage;
import com.itestor.iptv.modules.ne.domain.RobotNetInfo;

/** 
 * 
 * @author Mr.li
 */
public class RobotNodeStatusBean {
    
    /**
     * 在线状态
     */
    public static int  NODE_STATUS_ONLINE = 1 ;
    /**
     * 离线状态
     */
    public static int  NODE_STATUS_OFFLINE=2 ;
    
    /**
     * 在线告警状态
     */
    public static int  NODE_STATUS_ONLINE_ALERT = 3 ;
    
    /**
     * 离线告警状态
     */
    public static int  NODE_STATUS_OFFLINE_ALERT = 4 ;
    
    /**
     * 
     */
    private RobotManage  robotManage;    
    /**
     * 
     */
    private RobotNetInfo robotNetInfo;    
    /**
     * 
     */
    private RobotLog robotLog;
    /**
     * 
     */
    private IptvQuality lastIptvQuality;
    /**
     * 
     */
    private IptvLostRate lastIptvLostRate;
    
    private long times15min;
    
    private long times24hour;
    
    
    /**
     * 构造器
     */
    public RobotNodeStatusBean(){
        
    }
    
    /**
     * 构造器
     * @param robotManage 
     * @param robotNetInfo 
     */
    public  RobotNodeStatusBean(RobotManage  robotManage,RobotNetInfo robotNetInfo){
        this.robotManage=robotManage;
        this.robotNetInfo=robotNetInfo;
    }
    

    /**
     * 构造器
     * @param robotManage 
     * @param robotNetInfo 
     * @param robotLog
     */
    public  RobotNodeStatusBean(RobotManage  robotManage,RobotNetInfo robotNetInfo,RobotLog robotLog){
        this.robotManage=robotManage;
        this.robotNetInfo=robotNetInfo;
        this.robotLog=robotLog;
    }
    
    public RobotManage getRobotManage( ) {
        return robotManage;
    }

    public RobotNetInfo getRobotNetInfo() {
        return robotNetInfo;
    }

    public void setRobotManage(RobotManage pRobotManage) {
        robotManage = pRobotManage;
    }

    public void setRobotNetInfo(RobotNetInfo pRobotNetInfo) {
        robotNetInfo = pRobotNetInfo;
    }

    public RobotLog getRobotLog() {
        return robotLog;
    }

    public void setRobotLog(RobotLog pRobotLog) {
        robotLog = pRobotLog;
    }

    public IptvQuality getLastIptvQuality() {
        return lastIptvQuality;
    }

    public IptvLostRate getLastIptvLostRate() {
        return lastIptvLostRate;
    }

    public void setLastIptvQuality(IptvQuality pLastIptvQuality) {
        lastIptvQuality = pLastIptvQuality;
    }

    public void setLastIptvLostRate(IptvLostRate pLastIptvLostRate) {
        lastIptvLostRate = pLastIptvLostRate;
    }

    public long getTimes15min() {
        return times15min;
    }

    public long getTimes24hour() {
        return times24hour;
    }

    public void setTimes15min(long pTimes15min) {
        times15min = pTimes15min;
    }

    public void setTimes24hour(long pTimes24hour) {
        times24hour = pTimes24hour;
    }
    
    
}
